Skip to content

fix(helpdesk): translate dashboard labels + KPI widget titles#11

Merged
xuyushun441-sys merged 1 commit into
mainfrom
fix/helpdesk-dashboard-i18n
Jun 1, 2026
Merged

fix(helpdesk): translate dashboard labels + KPI widget titles#11
xuyushun441-sys merged 1 commit into
mainfrom
fix/helpdesk-dashboard-i18n

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Found during business-user testing (zh-CN)

The helpdesk dashboards rendered half-localized: object/field labels were Chinese, but dashboard titles, KPI widget titles, and dashboard nav entries stayed English.

Root cause: the translation bundles only populated objects and apps. TranslationData also supports a dashboards section (dashboards.<name>.{label, widgets.<key>.title}) — it was simply unused.

Fix

Add dashboards translations for agent_workbench_dashboard and manager_overview_dashboard to both en.ts and zh-CN.ts.

Verified end-to-end

Booted in the composed all environment and confirmed in the browser — the dashboard now renders fully Chinese:

Before After
Agent Workbench 客服工作台
My Open Tickets / SLA Breaching / Angry Customers / Awaiting Triage 我的待处理工单 / SLA 即将超时 / 不满客户 / 待分类
My Queue / SLA Breaches 我的队列(按优先级)/ SLA 超时工单

pnpm --filter @objectlab/helpdesk typecheck passes.

The same gap exists in the other 8 templates; this PR establishes the pattern. Rollout to the rest can follow.

🤖 Generated with Claude Code

Business-user testing in a zh-CN locale showed the helpdesk dashboards
half-localized: object/field labels were Chinese, but the dashboard titles,
KPI widget titles, and the dashboard nav entries stayed English ("Agent
Workbench", "My Open Tickets", "SLA Breaching", …).

Root cause: the translation bundles only populated `objects` and `apps`.
`TranslationData` also supports a `dashboards` section
(`dashboards.<name>.{label,widgets.<key>.title}`) — it was simply unused.

Add `dashboards` translations for agent_workbench_dashboard and
manager_overview_dashboard to both en and zh-CN. Verified end-to-end in the
composed `all` environment: the dashboard now renders fully Chinese
(客服工作台 / 我的待处理工单 / SLA 即将超时 / 不满客户 / 待分类 …).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys xuyushun441-sys merged commit 6652c61 into main Jun 1, 2026
0 of 2 checks passed
@xuyushun441-sys xuyushun441-sys deleted the fix/helpdesk-dashboard-i18n branch June 1, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants